package com.quanyan.operative.db;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOpCommentsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbOpCommentsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andDynamicIdIsNull() {
            addCriterion("dynamic_id is null");
            return (Criteria) this;
        }

        public Criteria andDynamicIdIsNotNull() {
            addCriterion("dynamic_id is not null");
            return (Criteria) this;
        }

        public Criteria andDynamicIdEqualTo(Integer value) {
            addCriterion("dynamic_id =", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdNotEqualTo(Integer value) {
            addCriterion("dynamic_id <>", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdGreaterThan(Integer value) {
            addCriterion("dynamic_id >", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("dynamic_id >=", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdLessThan(Integer value) {
            addCriterion("dynamic_id <", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdLessThanOrEqualTo(Integer value) {
            addCriterion("dynamic_id <=", value, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdIn(List<Integer> values) {
            addCriterion("dynamic_id in", values, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdNotIn(List<Integer> values) {
            addCriterion("dynamic_id not in", values, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdBetween(Integer value1, Integer value2) {
            addCriterion("dynamic_id between", value1, value2, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andDynamicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("dynamic_id not between", value1, value2, "dynamicId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andSrcUidIsNull() {
            addCriterion("src_uid is null");
            return (Criteria) this;
        }

        public Criteria andSrcUidIsNotNull() {
            addCriterion("src_uid is not null");
            return (Criteria) this;
        }

        public Criteria andSrcUidEqualTo(Integer value) {
            addCriterion("src_uid =", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidNotEqualTo(Integer value) {
            addCriterion("src_uid <>", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidGreaterThan(Integer value) {
            addCriterion("src_uid >", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("src_uid >=", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidLessThan(Integer value) {
            addCriterion("src_uid <", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidLessThanOrEqualTo(Integer value) {
            addCriterion("src_uid <=", value, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidIn(List<Integer> values) {
            addCriterion("src_uid in", values, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidNotIn(List<Integer> values) {
            addCriterion("src_uid not in", values, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidBetween(Integer value1, Integer value2) {
            addCriterion("src_uid between", value1, value2, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUidNotBetween(Integer value1, Integer value2) {
            addCriterion("src_uid not between", value1, value2, "srcUid");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameIsNull() {
            addCriterion("src_user_name is null");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameIsNotNull() {
            addCriterion("src_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameEqualTo(String value) {
            addCriterion("src_user_name =", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameNotEqualTo(String value) {
            addCriterion("src_user_name <>", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameGreaterThan(String value) {
            addCriterion("src_user_name >", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("src_user_name >=", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameLessThan(String value) {
            addCriterion("src_user_name <", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameLessThanOrEqualTo(String value) {
            addCriterion("src_user_name <=", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameLike(String value) {
            addCriterion("src_user_name like", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameNotLike(String value) {
            addCriterion("src_user_name not like", value, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameIn(List<String> values) {
            addCriterion("src_user_name in", values, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameNotIn(List<String> values) {
            addCriterion("src_user_name not in", values, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameBetween(String value1, String value2) {
            addCriterion("src_user_name between", value1, value2, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcUserNameNotBetween(String value1, String value2) {
            addCriterion("src_user_name not between", value1, value2, "srcUserName");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlIsNull() {
            addCriterion("src_img_url is null");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlIsNotNull() {
            addCriterion("src_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlEqualTo(String value) {
            addCriterion("src_img_url =", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlNotEqualTo(String value) {
            addCriterion("src_img_url <>", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlGreaterThan(String value) {
            addCriterion("src_img_url >", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("src_img_url >=", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlLessThan(String value) {
            addCriterion("src_img_url <", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlLessThanOrEqualTo(String value) {
            addCriterion("src_img_url <=", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlLike(String value) {
            addCriterion("src_img_url like", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlNotLike(String value) {
            addCriterion("src_img_url not like", value, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlIn(List<String> values) {
            addCriterion("src_img_url in", values, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlNotIn(List<String> values) {
            addCriterion("src_img_url not in", values, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlBetween(String value1, String value2) {
            addCriterion("src_img_url between", value1, value2, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andSrcImgUrlNotBetween(String value1, String value2) {
            addCriterion("src_img_url not between", value1, value2, "srcImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdIsNull() {
            addCriterion("target_comment_id is null");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdIsNotNull() {
            addCriterion("target_comment_id is not null");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdEqualTo(Integer value) {
            addCriterion("target_comment_id =", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdNotEqualTo(Integer value) {
            addCriterion("target_comment_id <>", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdGreaterThan(Integer value) {
            addCriterion("target_comment_id >", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("target_comment_id >=", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdLessThan(Integer value) {
            addCriterion("target_comment_id <", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdLessThanOrEqualTo(Integer value) {
            addCriterion("target_comment_id <=", value, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdIn(List<Integer> values) {
            addCriterion("target_comment_id in", values, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdNotIn(List<Integer> values) {
            addCriterion("target_comment_id not in", values, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdBetween(Integer value1, Integer value2) {
            addCriterion("target_comment_id between", value1, value2, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetCommentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("target_comment_id not between", value1, value2, "targetCommentId");
            return (Criteria) this;
        }

        public Criteria andTargetContentIsNull() {
            addCriterion("target_content is null");
            return (Criteria) this;
        }

        public Criteria andTargetContentIsNotNull() {
            addCriterion("target_content is not null");
            return (Criteria) this;
        }

        public Criteria andTargetContentEqualTo(String value) {
            addCriterion("target_content =", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentNotEqualTo(String value) {
            addCriterion("target_content <>", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentGreaterThan(String value) {
            addCriterion("target_content >", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentGreaterThanOrEqualTo(String value) {
            addCriterion("target_content >=", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentLessThan(String value) {
            addCriterion("target_content <", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentLessThanOrEqualTo(String value) {
            addCriterion("target_content <=", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentLike(String value) {
            addCriterion("target_content like", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentNotLike(String value) {
            addCriterion("target_content not like", value, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentIn(List<String> values) {
            addCriterion("target_content in", values, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentNotIn(List<String> values) {
            addCriterion("target_content not in", values, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentBetween(String value1, String value2) {
            addCriterion("target_content between", value1, value2, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetContentNotBetween(String value1, String value2) {
            addCriterion("target_content not between", value1, value2, "targetContent");
            return (Criteria) this;
        }

        public Criteria andTargetUidIsNull() {
            addCriterion("target_uid is null");
            return (Criteria) this;
        }

        public Criteria andTargetUidIsNotNull() {
            addCriterion("target_uid is not null");
            return (Criteria) this;
        }

        public Criteria andTargetUidEqualTo(Integer value) {
            addCriterion("target_uid =", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidNotEqualTo(Integer value) {
            addCriterion("target_uid <>", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidGreaterThan(Integer value) {
            addCriterion("target_uid >", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("target_uid >=", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidLessThan(Integer value) {
            addCriterion("target_uid <", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidLessThanOrEqualTo(Integer value) {
            addCriterion("target_uid <=", value, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidIn(List<Integer> values) {
            addCriterion("target_uid in", values, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidNotIn(List<Integer> values) {
            addCriterion("target_uid not in", values, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidBetween(Integer value1, Integer value2) {
            addCriterion("target_uid between", value1, value2, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUidNotBetween(Integer value1, Integer value2) {
            addCriterion("target_uid not between", value1, value2, "targetUid");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameIsNull() {
            addCriterion("target_user_name is null");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameIsNotNull() {
            addCriterion("target_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameEqualTo(String value) {
            addCriterion("target_user_name =", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameNotEqualTo(String value) {
            addCriterion("target_user_name <>", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameGreaterThan(String value) {
            addCriterion("target_user_name >", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("target_user_name >=", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameLessThan(String value) {
            addCriterion("target_user_name <", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameLessThanOrEqualTo(String value) {
            addCriterion("target_user_name <=", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameLike(String value) {
            addCriterion("target_user_name like", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameNotLike(String value) {
            addCriterion("target_user_name not like", value, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameIn(List<String> values) {
            addCriterion("target_user_name in", values, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameNotIn(List<String> values) {
            addCriterion("target_user_name not in", values, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameBetween(String value1, String value2) {
            addCriterion("target_user_name between", value1, value2, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetUserNameNotBetween(String value1, String value2) {
            addCriterion("target_user_name not between", value1, value2, "targetUserName");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlIsNull() {
            addCriterion("target_img_url is null");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlIsNotNull() {
            addCriterion("target_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlEqualTo(String value) {
            addCriterion("target_img_url =", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlNotEqualTo(String value) {
            addCriterion("target_img_url <>", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlGreaterThan(String value) {
            addCriterion("target_img_url >", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("target_img_url >=", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlLessThan(String value) {
            addCriterion("target_img_url <", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlLessThanOrEqualTo(String value) {
            addCriterion("target_img_url <=", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlLike(String value) {
            addCriterion("target_img_url like", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlNotLike(String value) {
            addCriterion("target_img_url not like", value, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlIn(List<String> values) {
            addCriterion("target_img_url in", values, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlNotIn(List<String> values) {
            addCriterion("target_img_url not in", values, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlBetween(String value1, String value2) {
            addCriterion("target_img_url between", value1, value2, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andTargetImgUrlNotBetween(String value1, String value2) {
            addCriterion("target_img_url not between", value1, value2, "targetImgUrl");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}